from PIL import Image, ImageFilter

img = Image.open('2.png')
blur = img.filter(ImageFilter.BLUR)
blur.save('output1.png')